#ifndef GRADE_H
#define GRADE_H

#include<iostream>

int gcd(int x, int y);
int lcm(int x, int y);

class grade
{
public:
	grade(int x=1,int y=1);
	void set(int x=1, int y=1);
	void show();
	friend grade operator + (grade a, grade b);
	friend grade operator - (grade a, grade b);
	grade operator = (grade a);
	~grade();

private:
	unsigned int numerator;
	unsigned int denominator;
	bool sym;
	bool exist;
};

#endif // !GRADE_H
